package com.sh.business.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sh.business.domain.UserSubscribe;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.sh.common.excel.annotation.ExcelDictFormat;
import com.sh.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 用户私募认购记录视图对象 bms_user_subscribe
 *
 * @author ruoyi
 * @date 2024-10-08
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = UserSubscribe.class)
public class UserSubscribeVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 用户id
     */
    @ExcelProperty(value = "用户id")
    private Long userId;

    /**
     * 订单编号
     */
    @ExcelProperty(value = "订单编号")
    private String orderSn;

    /**
     * 充值金额
     */
    @ExcelProperty(value = "充值金额")
    private BigDecimal amount;

    /**
     * hash
     */
    @ExcelProperty(value = "hash")
    private String txHash;

    /**
     * 状态（0：错误数据 1：待确认 2: 确认到账）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=：错误数据,1=：待确认,2=:,确=认到账")
    private Long status;

    /**
     * 时间
     */
    @ExcelProperty(value = "时间")
    private Date transferTime;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String fromAddress;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String toAddress;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String notifyData;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String remark;

    private Date createTime;
}
